package fr.upmc.cie;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;


public class Settings extends Activity{

	@Override
	public void onCreate(Bundle savedInstanceState){
		super.onCreate(savedInstanceState);
		setContentView(R.layout.settings);
		
		
		Button bManageFlux = (Button) findViewById(R.id.Button01);
		Button bManageCategor = (Button) findViewById(R.id.Button02);
		
		   bManageFlux.setOnClickListener(new View.OnClickListener() {
	        	public void onClick(View v) {
	        	       
	        		Intent i = new Intent();
					i.setClass(v.getContext(), ListChannel.class);
					startActivity(i);
	        	}
	        });
		   bManageCategor.setOnClickListener(new View.OnClickListener() {
	        	public void onClick(View v) {
	        		Intent i = new Intent();
					i.setClass(v.getContext(), ListCategories.class);
					startActivity(i);
	        	}
	        });
		
	}
}
